Skip to content

Conversation

@tiyash-basu-frequenz
Copy link
Contributor

closes #390

@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Jul 8, 2025
Copilot AI review requested due to automatic review settings July 8, 2025 16:14
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner July 8, 2025 16:14
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files part:python Affects the Python bindings part:tests Affects the unit, integration and performance (benchmarks) tests labels Jul 8, 2025

This comment was marked as outdated.

@tiyash-basu-frequenz tiyash-basu-frequenz marked this pull request as draft July 9, 2025 08:54
@tiyash-basu-frequenz
Copy link
Contributor Author

I feel it is better to address the v1alpha8 packaging related changes in a separate PR, since it is causing noise here. I have created a separate PR for that: #396

This PR will be ready for review once #396 has been merged.

@tiyash-basu-frequenz tiyash-basu-frequenz marked this pull request as ready for review July 9, 2025 10:06

This comment was marked as outdated.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the Fuse component from the v1alpha8 protobuf definitions and reflects that change in the release notes.

  • Deleted the Fuse message and its oneof entry in electrical_components.proto.
  • Renumbered the remaining oneof fields for grid connection, inverter, and voltage transformer.
  • Updated RELEASE_NOTES.md to note removal of electrical_components.Fuse.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
proto/frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto Removed Fuse message and updated oneof tag assignments for downstream components.
RELEASE_NOTES.md Noted removal of electrical_components.Fuse in the v1alpha8 release notes.
Comments suppressed due to low confidence (2)

RELEASE_NOTES.md:13

  • [nitpick] The removal of electrical_components.Fuse is a breaking change. Consider adding a 'Breaking Changes' section in the release notes to clearly inform API consumers about backward-incompatibility.
- A new package `frequenz.api.common.v1alpha8` has been added. It has the following changes when compared to `frequenz.api.common.v1alpha7`:

proto/frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto:581

  • Reusing the tag numbers after removing the Fuse entry can break backward compatibility in protobuf. It’s better to reserve the old tag numbers (3–6) for the removed fields and keep existing fields at their original tags.
    GridConnectionPoint grid_connection_point = 3;

@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue Jul 9, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit 4ad84bf Jul 9, 2025
6 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the 390_remove_fuse branch July 9, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files part:python Affects the Python bindings part:tests Affects the unit, integration and performance (benchmarks) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove electrical_components.Fuse

2 participants